//
//  SecurityGuardRecordCollectionViewCell.m
//  PropertyManager
//
//  Created by TNG on 2018/8/8.
//  Copyright © 2018年 Tng. All rights reserved.
//

#import "SecurityGuardRecordCollectionViewCell.h"

@implementation SecurityGuardRecordCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.bgView = [[UIView alloc] initWithFrame:CGRectMake(WIDTH/14 - 15, 0, 30, 56)];
        [self.contentView addSubview:self.bgView];
        
        self.weekLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 10, 30, 12)];
        self.weekLabel.font = font(12);
        self.weekLabel.textAlignment = NSTextAlignmentCenter;
        [self.bgView addSubview:self.weekLabel];
        
        self.dayLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 34, 30, 12)];
        self.dayLabel.font = font(12);
        self.dayLabel.textAlignment = NSTextAlignmentCenter;
        [self.bgView addSubview:self.dayLabel];
    }
    return self;
}

@end
